public class Interactable extends UnityEngine.MonoBehaviour{
var hasBeenUsed=false;
var ourGuy: GameObject;
function start(){

}
function OnTriggerEnter (other : Collider) {
		ourGuy=GameObject.FindGameObjectWithTag("Player");
		if(!hasBeenUsed){
       	print("Press E to use");    	
       	sendObject();}
}
function onTriggerExit(other: Collider){
		print("Exit works");
		var inputScript=ourGuy.GetComponent(Player_Input);
		inputScript.clearInteractable();
}
function sendObject(){
		var inputScript=ourGuy.GetComponent(Player_Input);
		inputScript.setInteractable(this);
}
function activate(){
	print("Successfully Activated!");
	hasBeenUsed=true;
	
}
}